package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.PspWarnResultRpt;
import com.fdb.efp.nls.service.vo.PspWarnResultRptVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>DAO interface:贷后检查报告预警结果表				<p>
 * @author chenqm1
 * @date 2018-05-07
 */
public interface PspWarnResultRptDao {
	
	public int insertPspWarnResultRpt(PspWarnResultRpt pspWarnResultRpt);
	
	public int deleteByPk(PspWarnResultRpt pspWarnResultRpt);
	
	public int updateByPk(PspWarnResultRpt pspWarnResultRpt);
	
	public PspWarnResultRpt queryByPk(PspWarnResultRpt pspWarnResultRpt);
	
	public List<PspWarnResultRpt> queryAllOwnerByPage(PspWarnResultRptVO pspWarnResultRpt);
	
	public List<PspWarnResultRpt> queryAllCurrOrgByPage(PspWarnResultRptVO pspWarnResultRpt);
	
	public List<PspWarnResultRpt> queryAllCurrDownOrgByPage(PspWarnResultRptVO pspWarnResultRpt);
	//批量新增贷后预警结果表
	public int insertBatchPspWarnResultRpt(@Param("pspWarnResultRpts") List<PspWarnResultRpt> pspWarnResultRpts);

}
